package com.tengol.demo.design.pattern.creational.factorymethod.factory;

import com.tengol.demo.design.pattern.creational.factorymethod.domain.JavaVideo;
import com.tengol.demo.design.pattern.creational.factorymethod.domain.Video;

/**
 * JavaVideoFactory
 *
 * @author dongrui
 * @date 2019/02/28
 */
public class JavaVideoFactory extends VideoFactory{
    @Override
    public Video getVideo() {
        return new JavaVideo();
    }
}
